package org.example.analysis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.analysis.model.entity.JavaMethodInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Java方法信息Mapper
 */
public interface JavaMethodInfoMapper extends BaseMapper<JavaMethodInfo> {
    void deleteByProjectName(String projectName);

    void insertBatch(List<JavaMethodInfo> methodInfos);

    List<JavaMethodInfo> getByProjectName(String projectName);

    void deleteRefreshableByProjectName(@Param("projectName") String projectName);
}